<template>
  <div style="font-size: 50px; margin-top: 250px;text-align: center">{{date}}</div>
</template>
<script>
export default {
  data() {
    return{
      date: ""
    }
  },
  mounted(){
    setInterval(()=>{
      let date = new Date()
      let m = date.getMinutes()
      let s = date.getSeconds()
      this.date = m+":"+s
    })
    
  }
}
</script>